import {
	request
} from '@/utils/request.js'
//创建订单
export const apiCreateOrder = (data) => {
	return request({
		url: '/order/createOrder',
		data: data,
		method: 'POST'
	})
}
export const apiCloseOrder = (data) => {
	return request({
		url: '/order/closeOrder',
		data: data,
		method: 'POST'
	})
}

export const apiXufeiOrder = (data) => {
	return request({
		url: '/order/xufeiOrder',
		data: data,
		method: 'POST'
	})
}
//订单列表
export const orderlist = (data) => {
	return request({
		url: '/order/getList',
		data: data,
		method: 'POST'
	})
}
//授权进入云机
export const authlogin = (data) => {
	return request({
		url: '/order/authlogin',
		data: data,
		method: 'POST'
	})
}